package com.scott.builder;

/**
 * @author Scott 2017/11/14 17:13
 */
public class BuilderDemo {
    public static void main(String[] args) {
        Person person = Person.builder().id(10L).nickName("nick1").build();
        System.out.println(person);
        System.out.println(Person.builder().id(11L).nickName("nick2").age(19).build());
    }
}
